************************SOLO APLICA PARA LTE***********************************************************************************
*********
 Check processor load on the current board
>> procload
 - Check processor load on another board
>> lhsh 001900 procload
 - Check processor load on all boards of a board group
>> lh mp procload
 - Check processor load on all boards of the node
>> lh all procload
 - Check temperature on all boards of the node
>> lh allp proctemp


Activar licencia 
acc licensing=1 setEmergencyState
lt all
license server
st fdd  (Verificar que levanta
lt all




IP TRANSPORT-----

acc IpOam=1 traceRoute       (Traceroute desde OyM)
acc ipoam traceroute         (traceroute desde OyM (mismo que lo anterior)
acc ipoam ping               (Ping desde OyM)
acc ipac ping                (ping desde trficO)                                                            
iacrh traceroute -dst 172.27.128.118 -src 172.27.128.117 (traceroute (para L13 no aplica)
iacrh ping -dst 172.27.128.118 -src 172.27.128.117 n 2  (ping 2 veces (para L13 no aplica)
get IpAccessHostEt=1         (IP address to be used for signaling and traffic data i.e S1 and X2 link
get ipaccesshostet           (To get ip address of enodeb)
get interface addressactive
get Ip=1                     (Node IP address used for OAM purpose)
stip                         (To check ip of enodeb and mme)
st termpointtomme            (To check termpoints to mme)
st mme                       (mme status)
st termpointtoenb            (To check termpoints to enb)

********ST SYNC****************
get sync
st sync
get . clock

*******REVISION DE ALARMAS*****************
alt                          (lista alarmas)
ala                          (alarmas con mayor detalle)
lga -2d                      (log de alarmas de los ltimos 2 das)

*********RF - Radio***********************
get rfbranch rfport          (To check csrf status)
lh ru fui get vswr 1         (To check vswr branch 1)
lh ru fui get vswr 2         (To check vswr branch 2)
get . riport 		     (To check fiber to RRU status)
lpr riport
lpr rfport
lpr antennaunitgroup 

************RF - Relations***************
pr relat                    (To check relations)
get intralte                (To check if HO is activated or not)
st TermPointToENB           (To check X2  intefraces status)

***********Mobility*****************
get . mobilityac
get . csfall
get . isho
get . featurestatecsf
get . mapping

***********RF  Power, Tilt, Attenuation*****************************
get . power                   (To get power)
set .  partofsectorpower 100  (To set power)
get ret electrical            (To check electrical tilt on site)
Use SET or SET1 c             (ommand to change the tilt)

************Important power parameters*********************************
get . partOfRadioPower 
get . partofsectorpower
get . confOutputPower 
get . maximumTransmissionPower

*************Procedure for changing dl/ul attenuation********************

bl EutranCellFDD                                               (Blocking sectors)
set RfBranch= ulAttenuation 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5      (Set new values here)
set RfBranch= dlAttenuation 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5      (Set new values here)   
+deb EutranCellFDD                                              (Unblocking sectors)

****************Deblock,restart*************
acc rru restartunit                                            (RRU restart)
acc 0 manualRestart                                            (To Restart EnodeB)
bl eu                                                          (To block the all three sectors)
deb eu                                                         (To unblock the site)
cabr                                                           (print all restart of the nodes)

**********Check status*****************
ue print -admitted                                             (To see active ue latched on site)
st rru|sec                                                     (To check rru)

*************Logs***************************************************
Lgo 1                                                          (To check command log for one day) 
lga -s 20110805 -e 20110808:                                   (alarm log con intervalo de fechas)
lge -s 20111115 -e 20111121:                                   (event log con intervalo de fechas)
lgv -s 20110805 -e 20110808:                                   (availability log con intervalo de fechas)
lgs -s 20110805 -e 20110808:                                   (system log con intervalo de fechas)
lgu -s 20110805 -e 20110808:                                   (upgrade log con intervalo de fechas)
lgo -s 20110805 -e 20110808:                                   (MO command log con intervalo de fechas)
lgn -s 20110805 -e 20110808:                                   (moshell command log con intervalo de fechas)
lgd -s 20110805 -e 20110808:                                   (downtime log con intervalo de fechas)
lgg -s 20110805 -e 20110808:                                   (Board Restart error log con intervalo de fechas) (or llog)
llog                                                           (To view crashes on node)

*************Compare MOs************************
diff 890 891 892 !! To compare data ,890 is here proxy id for cell A ,891for cell B and 892 for Cell C

Others
uptime                                                        (To check how long EnodeB is up)
get . a2ThresholdRsrpPrim                                     (To check a2 values)
set . cellBarred 1                                            (To unbarr the site)
set . cellBarred 0                                            (To barr the site)
get . primary                                                 (To check site is in reserved state or not) 

+*************Ver capabilities de un mvil conectado**********************

ue print -ue -allcell -v                                      (Con esto pueden ver cuantos UEs estan conectados (similar al uer de WCDMA)			              
ue cap -racueref RAC -cellid CELDA                            (chequear RAC+CELDA)

*************Comandos de TRACEO*****************
ue print -ue -allcell -v                                      

*Ver tutorial Jeremas,Edgar,Laura

****************Comando de Ping fachero***************

Contadores:
Pmx m 2 . pmuecon
Pmx m 2 . pmUeCtxt                                           (para ver contadores de CSFB)

***************Features*****************
get . featurestate 0                                          (ver features apagados)

***********Contadores de interferencia**********************
pget . pmRadioRecInterferencePwr                              (To chk counter for ul rssi) 
pmr -r 6 -m 1 | grep 'Int_RadioRec'                           (To chk counter for ul rssi)
Int_RadioRecInterferencePwr
Int_RadioRecInterferencePucchPwr
pmx . pmRadioRecInterferencePwr$

Chequeos comunes proyecto TIGO

Check GSMREL

pr geranfreq                                                 (Ver bcchno. Si no llega a estar ok seguir los pasos de abajo)
rdel geranfreq                                               (borra grouprelation+groupfreq)
rdel geranfreq                                               (borra MO que falta (gerangroup)
del geranetwork                                              (borrar la ntw)

********correr script con valores correctos de bcch***************
No levanta MME pero hay ping al MME
Fijarse si est creada la CV_03 (que se crea en el script de seteos. Los seteos son de Transporte,sctp,etc)

*********Cambio de banda (sitios banda 17)
Get . earfcn 
Si dice 5780---correr script para cambiar a 5790
10MHz_Band17.mos

***************Chequeo piso de ruido***************
lh ru warpA ipwr all

***********Seteos mltiples****************
set1                                                        (setea 	1 		atributo 	a 	mltiples MO)
setm                                                        (setea multiples 	atributos a 		1	MO)

********Ping al MME******
acc host ping (acl IpAccessHostEt para ver las acciones)

********mobatch chequeo sitio Ready*********************
mobatch ruta/nombre_archivo_sitios lt all; run archivo_comandos.mos

mobatch 'SCRIPTS_MIC_BOL/MOBATCH/SitiosREADY' "lt all;run SCRIPTS_MIC_BOL/MOBATCH/CheckSitioREADY.mos"

*******ejemplo de grep*******
grep 'dB' *.log                                            (ubicado en la carpeta de logs de mobatch)

**********reporte de alarmas**********************
./p.sh 	!!correr Shell parado en la carpeta de logs mobatch

Limpiar alarma de autonegociacin
Para quitarla es necesario setear la tarjeta de gigabit a la misma velocidad a la cual negoci, es decir 100 Mbps.
get Subrack=1,Slot=1,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=1 actualSpeedDuplex|configuredSpeedDuplex|autoneg
actualSpeedDuplex y configuredSpeedDuplex deben estar en el mismo valor

*************alarma de password**************
2014-03-31 18:57:37 m Password File Fault                 Security=1 (configuration_or_customizing_error)
Se setea el user y pass en rbs:
passwd ; rbs ; rbs

***********cambio de fingerprint
acl rbs
moshell -v use_complete_mom=1 COS
lt all
acc setUniqueLogicalName
y
4SCUCOS
carga de licencia
ftput 4SCUTRA_140324_233337_info.xml
ls
acl 6 
acc 6 updateLicenseKeyFile
rbs
rbs
IP= ip de oym
/d/4SCUTRA_140324_233337_info.xml

******TIPS DE DUW PARA CORREGIR ALARMA
quitar alarma de Gigabitethernet
get gigabitethernet
set (40)"variable" configuredspeedduplex 4

quitar alarma de compatibilidad de SW nivel de seguridad en DUW
secmode -l adapt

CORRER MO Y MOs en MOSHELL
!ls                           (ENTRAR AL DIRECTORIO MOSHELL)
!cd                           (CREAR DIRECTORIO)
===========================
run ruta_script\script.mos    (FORMA CORRECTA DE CARGAR MOs)
trun ruta_script\script.mO    (FORMA CORRECTA DE CARGAR MO)
==========================

Overview of all IP traffical interfaces

stip                (Checking all SCTP associations)
? sctp*
sctphost_info -assoc -all
sctphost_info -assoc -all
sctphost_info - START.
sctphost_info -assoc -unreach (Checking all unreachable SCTP associations)
lget termpoint|host ipaddress (Checking IP configuration)
getstat -t 1 -l


++++++++++++++++++++CREAR HW POR COMANDOS

1. Vas a check el PIU type de la SAU lo vas check  .... con el siguiente comando :  lpr sau 
2. Cuando ya lo tengas identificado vas a crear el HwUnit MO
3. Comando : cr Equipment=1,HwUnit=SAU 
4. Te va pedir un LND  ... ahi vas a poner el PIU type del paso uno , algo asi ..... ejemplo
(Attribute 1 of 1, piuType (moRef:PiuType): Enter mo LDN: PiuType=SAUSS000_*)
5. ManagedElement=1,Equipment=1,HwUnit=SAU Y finalmente creas un CV   ... y es todo la alarma se fue  ....

cr Equipment=1,HwUnit=PDU-4
PiuType=PDUSS000_*
cr ManagedElement=1,Equipment=1,HwUnit=PDU-4, EcPort=1 
EcBus=1
lset ManagedElement=1,Equipment=1,HwUnit=PDU-4,EcPort=1 hubposition A8



****************************************************************************************************

How to reset the forgeted password in (RNC,Node B,MGW)
 
 
     RNC, Node B and MGW have the same platform is CPP, when we forget the password can use the process to reset it and can not loss the system configuration:
 
1.  Connect to the CPP node serial port using a laptop
2.  Quickly power cycle the node 10 times, it  will go into backup mode
3.  Quickly type 'reload --' 
4.  Be sure you are in the backup mode ('vols' should show /c2) 
5.  Enter command 'rm /c2/security/passwd' to delete old passwd file
6.  type 'reload' 
7.  Set the new password with command 'passwd' and a new passwd file will be generated.
8.  make a new CV to save the change
[12:18:04 p.m.] Luis  Corella: esa ultima es para borrar el pass y cambiarlo y poder entrar sin haber perdido nada

o resetear la DUW 10 veces contadas y luego el comando reload -- y listo


+++++++++ejemplo de un reinicio de du atraves de comandos +++++++++++
cvset RbsConfiguration_SiteEquipmentComplete
acc 0 manualRestart

150430-12:11:38 169.254.1.10 11.0c ERBS_NODE_MODEL_D_1_189 stopfile=/tmp/6148
Call Action manualrestart on following 1 MOs ?
===================================================================================
    0  ManagedElement=1
INFO: The RBS node dus will be restarted on CV: RbsConfiguration_SiteEquipmentComplete
REMINDER: If the node is being restarted to clear a fault, please make sure to run "dcge" or "dcgm" BEFORE the node restart.
===================================================================================
Call action manualrestart on 1 MOs. Are you Sure [y/n] ? y

=================================================================================================================
Proxy  MO                                                             Action                         Nr of Params
=================================================================================================================
    0  ManagedElement=1                                               manualRestart                  3

Parameter 1 of 3, restartRank (enumRef-RestartRank):
   Enter one of the following integers: 0:RESTART_WARM, 1:RESTART_REFRESH, 2:RESTART_COLD, 3:RESTART_COLDWTEST: 2

Parameter 2 of 3, restartReason (enumRef-RestartReason):
   Enter one of the following integers: 0:PLANNED_RECONFIGURATION, 1:UNPLANNED_NODE_EXTERNAL_PROBLEMS, 2:UNPLANNED_NODE_UPGRADE_PROBLEMS, 3:UNPLANNED_O_AND_M_ISSUE, 4:UNPLANNED_CYCLIC_RECOVERY, 5:UNPLANNED_LOCKED_RESOURCES, 6:UNPLANNED_COLD_WITH_HW_TEST, 7:UNPLANNED_CALL_PROCESSING_DEGRADATION, 8:UNPLANNED_LOW_COVERAGE, 30:UPGRADE_BOARD_RESTART, 31:OPERATOR_CLASSIFIED_PROBLEMS: 0

Parameter 3 of 3, restartInfo (string): RbsConfiguration_SiteEquipmentComplete
 >>> Return value = null

=================================================================================================================
Total: 1 MOs attempted, 1 MOs actioned



obtener Cv BackUp por moshell

UBCNMXC0097> cvget Cv_Swap

160406-04:20:12 169.254.1.1 16.0a RBS_NODE_MODEL_U_4_95 stopfile=/tmp/1600
Download the following 1 CV's to /home/FsCarls/moshell_logfiles/logs_moshell/cv/UBCNMXC0097/160406_042012?
==========================================================================================================
26 Cv_Swap                                   2016-04-06 09:02  CXP9023291/4_R4BA22   FsCarls          none
==========================================================================================================
Are you Sure [y/n] ? y

Downloading CV 1 of 1: Cv_Swap
facc ^configurationversion=1$ putToFtpServer Cv_Swap /d/usr UBCNMXC0097_Cv_Swap.zip 127.0.0.1 moshelluser $password

=================================================================================================================
Proxy  MO                                                             Action                         Nr of Params
=================================================================================================================
  833  ConfigurationVersion=1                                         putToFtpServer                 6
 >>> Return value = 92037085

=================================================================================================================
Total: 1 MOs attempted, 1 MOs actioned

Waiting 20 seconds before starting to poll...
ConfigurationVersion=1  ElapsedTime     currentMainActivity                       currentDetailedActivity
ConfigurationVersion=1  0s              IDLE                                      IDLE
Waiting 30 seconds before checking result...
ConfigurationVersion=1  31s             IDLE                                      IDLE
CV action result: EXECUTED
additionalInfo  : CV_BACKUP_NAME UBCNMXC0097_Cv_Swap.zip
Get /d/usr/UBCNMXC0097_Cv_Swap.zip /home/FsCarls/moshell_logfiles/logs_moshell/cv/UBCNMXC0097/160406_042012/UBCNMXC0097_Cv_Swap.zip ... OK
rm /d/usr/UBCNMXC0097_Cv_Swap.zip  ... OK

Successful storage of Cv_Swap to /home/FsCarls/moshell_logfiles/logs_moshell/cv/UBCNMXC0097/160406_042012/UBCNMXC0097_Cv_Swap.zip

